package com.qf;

/**
 * Created by luoxinmin on 2020/6/8.
 */
public class Student {
    private String name;//默认null
    private Car car;//默认null;name和color属性

    public Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void pringf(){
        System.out.println("student printf method!");
    }
}
